package mysql

import "gorm.io/gorm"

type House struct {
	gorm.Model
	UserId  int     `gorm:"type:int(11);not null;comment:用户id"`
	Name    string  `gorm:"type:varchar(30);not null;comment:小区名称"`
	Price   float64 `gorm:"type:decimal(10,2);not null;comment:价格"`
	Address string  `gorm:"type:varchar(100);not null;comment:小区地址"`
}
